package com.fallwings.Service;

import com.fallwings.Dao.CartoonDao;
import com.fallwings.domain.Cartoon;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * Created by Killer on 2016/1/5.
 */
@Service("CartoonService")
@Transactional
public class CartoonService implements ICartoonService{
    @Resource()
    private CartoonDao cartoonDao;
    @Override
    public List<Cartoon> select_Cartoon_Update_Form(String date) {
        return cartoonDao.select_Cartoon_Update_Form(date);
    }

    @Override
    public List<Cartoon> queryList(Map<String, Object> map) {
        return cartoonDao.queryList(map);
    }

    @Override
    public List<String> queryType(Integer size) {
       return cartoonDao.queryType(size);
    }
}
